/*
 * Copyright 2008-2012 Centro Andaluz de Innovación y Tecnologías de la
 * Información y las Comunicaciones (CITIC). All Rights Reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 *
 * Please contact CITIC - Edificio CITIC, C/ Marie Curie, 6 Parque
 * Tecnológico de Andalucía 29590 - Campanillas, Málaga, Spain
 * or visit www.citic.es, if you need additional information or
 * have any questions.
 */

package es.citic.puedes.youtube.model;

/**
 * class that represents a YouTube contact from an user
 * 
 * 
 */
public class YouTubeContact {

	/**
	 * Enum class that represents the contact status. Values: 'ACCEPTED', 'PENDING','REQUESTED' and 'REJECTED'
	 */
	public static enum Status {ACCEPTED, PENDING, REJECTED, REQUESTED};

	/**
	 * user name
	 */
	private String userName;
	/**
	 * user email
	 */
	private String email;

	/**
	 * gets the username
	 * 
	 * @return the username
	 */

	private Status status;

	/**
	 * empty Constructor
	 */
	public YouTubeContact() {
		userName = null;
		email = null;
		status = null;
	}

	/**
	 * Constructor with parameters
	 * 
	 * @param userName
	 *            user name
	 * @param email
	 *            user email
	 * @param status
	 *            user status
	 */
	public YouTubeContact(String userName, String email, Status status) {
		this.userName = userName;
		this.email = email;
		this.status = status;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName
	 *            the contact username to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the contact email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email
	 *            the contact email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the contact status
	 */
	public Status getStatus() {
		return status;
	}

	/**
	 * @param status
	 *            the contact status to set
	 */
	public void setStatus(Status status) {
		this.status = status;
	}

}
